package com.guigu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.mapper.StockDetailsMapper;
import com.guigu.pojo.StockDetails;
import com.guigu.service.StockDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 仓库商品明细表 服务实现类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
@Service
public class StockDetailsServiceImpl extends ServiceImpl<StockDetailsMapper, StockDetails> implements StockDetailsService {

    @Autowired
    private StockDetailsMapper stockDetailsMapper;

    @Override
    public List<StockDetails> getStockDetails() {
        List<StockDetails> list = stockDetailsMapper.selectStockDetailsList();

        System.out.println(list);
        return list;
    }
}
